export default {
  path: '/admin',
  name: 'admin',
  redirect: '/admin/hello',
  component: () => import(/* webpackChunkName: "admin" */ '@/views/admin'),
  children: [
    {
      path: 'hello',
      name: 'hello',
      component: () => import(/* webpackChunkName: "hello" */ '@/views/admin/children/hello'),
    },
    {
      path: 'ys',
      name: 'ys',
      component: () => import(/* webpackChunkName: "ys" */ '@/views/admin/children/ys'),
      children: [
        // 预约管理
        {
          path: 'second',
          name: 'second',
          component: () => import(/* webpackChunkName: "second" */ '@/views/admin/children/ys/second'),
        },
        {
          path: 'ysguahao',
          name: 'ysguahao',
          component: () => import(/* webpackChunkName: "ysguahao" */ '@/views/admin/children/ys/ysguahao'),
        },
        {
          path: 'yshesuan',
          name: 'yshesuan',
          component: () => import(/* webpackChunkName: "yshesuan" */ '@/views/admin/children/ys/yshesuan'),
        },
        {
          path: 'ystijian',
          name: 'ystijian',
          component: () => import(/* webpackChunkName: "ystijian" */ '@/views/admin/children/ys/ystijian'),
        },
        {
          path: 'yspaiban',
          name: 'yspaiban',
          component: () => import(/* webpackChunkName: "yspaiban" */ '@/views/admin/children/ys/yspaiban'),
        },
      ]
    },
    {
      path: 'yh',
      name: 'yh',
      component: () => import(/* webpackChunkName: "yh" */ '@/views/admin/children/yh'),
      children: [
        // 费用管理
        {
          path: 'yhxiaofei',
          name: 'yhxiaofei',
          component: () => import(/* webpackChunkName: "yhxiaofei" */ '@/views/admin/children/yh/yhxiaofei'),
        },
        {
          path: 'yhchongzhi',
          name: 'yhchongzhi',
          component: () => import(/* webpackChunkName: "yhchongzhi" */ '@/views/admin/children/yh/yhchongzhi'),
        },
        {
          path: 'yhzhuyuan',
          name: 'yhzhuyuan',
          component: () => import(/* webpackChunkName: "yhzhuyuan" */ '@/views/admin/children/yh/yhzhuyuan'),
        },
        {
          path: 'yhtuikuan',
          name: 'yhtuikuan',
          component: () => import(/* webpackChunkName: "yhtuikuan" */ '@/views/admin/children/yh/yhtuikuan'),
        },
      ]
    },
    {
      path: 'yy',
      name: 'yy',
      component: () => import(/* webpackChunkName: "yy" */ '@/views/admin/children/yy'),
      children: [
        // 医院信息
        {
          path: 'yydoctor',
          name: 'yydoctor',
          component: () => import(/* webpackChunkName: "yydoctor" */ '@/views/admin/children/yy/yydoctor'),
        },
        {
          path: 'yykeshi',
          name: 'yykeshi',
          component: () => import(/* webpackChunkName: "yykeshi" */ '@/views/admin/children/yy/yykeshi'),
        },
        {
          path: 'yytijian',
          name: 'yytijian',
          component: () => import(/* webpackChunkName: "yytijian" */ '@/views/admin/children/yy/yytijian'),
        },
        {
          path: 'yybaike',
          name: 'yybaike',
          component: () => import(/* webpackChunkName: "yybaike" */ '@/views/admin/children/yy/yybaike'),
        },
        {
          path: 'yydaohang',
          name: 'yydaohang',
          component: () => import(/* webpackChunkName: "yydaohang" */ '@/views/admin/children/yy/yydaohang'),
        },
        {
          path: 'yyjianjie',
          name: 'yyjianjie',
          component: () => import(/* webpackChunkName: "yyjianjie" */ '@/views/admin/children/yy/yyjianjie'),
        },
        {
          path: 'yyxuzhi',
          name: 'yyxuzhi',
          component: () => import(/* webpackChunkName: "yyxuzhi" */ '@/views/admin/children/yy/yyxuzhi'),
        },
      ]
    },
    {
      path: 'gl',
      name: 'gl',
      component: () => import(/* webpackChunkName: "gl" */ '@/views/admin/children/gl'),
      children: [
        // 系统设置
        {
          path: 'glguanliyuan',
          name: 'glguanliyuan',
          component: () => import(/* webpackChunkName: "glguanliyuan" */ '@/views/admin/children/gl/glguanliyuan'),
        },
        {
          path: 'gljuese',
          name: 'gljuese',
          component: () => import(/* webpackChunkName: "gljuese" */ '@/views/admin/children/gl/gljuese'),
        },
        {
          path: 'glzhicheng',
          name: 'glzhicheng',
          component: () => import(/* webpackChunkName: "glzhicheng" */ '@/views/admin/children/gl/glzhicheng'),
        },
        {
          path: 'glxiaoxi',
          name: 'glxiaoxi',
          component: () => import(/* webpackChunkName: "glxiaoxi" */ '@/views/admin/children/gl/glxiaoxi'),
        },
        {
          path: 'glmima',
          name: 'glmima',
          component: () => import(/* webpackChunkName: "glmima" */ '@/views/admin/children/gl/glmima'),
        }
      ]
    }
  ]
}